<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>浮动</title>
	<style>
		div{
			width: 200px;
			height: 200px;
			color: #fff;
			/*float: left;*/
		}
		.box1{
			background: red;
			float: left;
		}
		.box2{
			background: green;
			float: left;
		}
		.box3{
			background: blue;
			float: left;
			height: 201px;
		}
		.box4{
			background: yellow;
			float: left;

		}
		.box5{
			background: black;
			width: 400px;
			float: left;
		}
	</style>
</head>
<body>
	<div class="box1">box1</div>
	<div class="box2">box2</div>
	<div class="box3">box3</div>
	<div class="box4">box4</div>
	<div class="box5">box5</div>
</body>
</html>